Click or drag to resize

SipClientInvite Method (String, String, String, SessionDescription)

Invites another client to media session.

Namespace:  Independentsoft.Sip
Assembly:  Independentsoft.Sip (in Independentsoft.Sip.dll) Version: 1.0.700.17927
Syntax
public RequestResponse Invite(
	string from,
	string to,
	string contact,
	SessionDescription session
)

Parameters

from
Type: SystemString
A string contains address of the initiator of the session.
to
Type: SystemString
A string contains address of the recipient.
contact
Type: SystemString
A string contains user's contact address. Usually the address contains user's IP address and port.
session
Type: Independentsoft.Sip.SdpSessionDescription
A SessionDescription contains description of the session.

Return Value

Type: RequestResponse
A RequestResponse containing sent Request and received appropriate Response.
Exceptions
ExceptionCondition
ArgumentNullExceptionsession;SessionDescription is null.
See Also